package com.sky.mapper;

import com.sky.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

@Mapper
public interface UserMapper {
    User selectByOpenId(String openId);

    void insert(User user);

    User getById(Long userId);

    Integer getNewUserAmountByMap(Map<String, Object> map);

    Integer getTotalUserAmountByMap(Map<String, Object> map);
}
